// src/router/index.js
import { createRouter, createWebHistory } from "vue-router";
import Dashboard from "../views/Dashboard.vue";
import Preview from "../views/Preview.vue";
import VideoPlayback from "../views/VideoPlayback.vue";
import VideoDownload from "../views/VideoDownload.vue";

const routes = [
  { path: "/", redirect: "/dashboard" },
  { path: "/dashboard", component: Dashboard },
  { path: "/preview", component: Preview },
  { path: "/video-playback", component: VideoPlayback },
  { path: "/video-download", component: VideoDownload },
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
